package org.gp.core.service;

import com.baomidou.mybatisplus.service.IService;
import org.gp.core.entity.Comment;
import org.gp.core.entity.dto.ResponseDTO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LuoLiang
 * @since 2017-02-27
 */
public interface ICommentService extends IService<Comment> {
    /**
     * 评论活动
     *
     * @param userId
     * @param activityId
     * @param score
     * @param content
     * @return
     */
    ResponseDTO commentActivity(Integer userId, Integer activityId, Integer score, String content);

    ResponseDTO<List<Comment>> getActivityCommentList(String activityId);
}
